package com.zlzlib.manager.bean.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @DateTime: 2023/4/25 16:57
 * @Author zlz
 * @Version 1.0
 */
@Data
public class DeleteByIdsDto {

    @NotNull(message = "id列表不能为空!")
    @Size(min = 1,message = "至少有一个id")
    private List<Long> ids;
}
